package com.yz.group9.med_booking.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

//java中实体类，映射数据库中的department类   作用：让java类和数据库字段一一对应，是操作数据库的载体
@Data
@TableName("Department")
public class Department {
    @TableId(type = IdType.AUTO)
    private Long id;//int==>Integer bigInt==Long
    private String name;
    private String description;
    private Integer status;
    private String createdAt;
    private String updataAt;
}
